package 第二题;

public class Computer {
    String brand;
    String prince;
    String colos;
    String size;
    public Computer( String brand,String prince, String colos,String size) {
    	this.brand=brand;
    	this.prince=prince;
    	this.colos=colos;
    	this.size=size;
    	
    }
    public void print() {
   	 
   	 System.out.println("品牌"+this.brand+
   			 ",价格"+this.prince+",颜色"+this.colos+
   			 ",屏幕大小"+this.size);
	
    }
}
